const orderService = require('../service/orderService');


exports.shoping = async (req, res) => {
    console.log(req.body)
    try {
        const result = await orderService.shoping(req.body);
        res.json(result);
    } catch (error) {
        res.status(500).json({ error: error.message });
    }
}